\documentclass[8pt,UTF8]{beamer}

\usetheme{uha}

\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{fontspec}

\setsansfont{Source Han Serif CN}

\title{STORODE}
\author{Name: 金雄镕\quad \\ No: 201632120123\\Major: Software Engineering\\Supervisor: 蓝珲}
\date{\today}
\subtitle{Cross-referencing requirements and source code
\\to reduce software maintenance cost}
\institute{Zhejiang Normal University}

\begin{document}

% Title page 
\begin{frame}[plain, noframenumbering]
	\titlepage
\end{frame}

\begin{frame}[fragile]{What}
	\begin{block}{Product Manager}
		Product managers can put their requirements
	\end{block}
	\begin{block}{Programmer}
		Programmers can upload code and link it with requirements
		\\
		Programmers can read requirements directly when reviewing code
	\end{block}
	\begin{block}{Project Manager}
		Project managers can find related code by clicking requirements
		\\
		Project managers can know the progress of requirements implementation
	\end{block}
\end{frame}


\begin{frame}{Why}
	\begin{itemize}
		\item Costs on maintenance
		\item Server maintenance and devops
		\item DRY principle
		\item Agile development
		\item High job-hopping rate
		\item Difficulty on estimating time spent
	\end{itemize}
	\begin{figure}
		\includegraphics[height=14em]{assets/piechart}
		\caption{Approximate relative costs of the phases of the software life cycle [Schach 1999]}
	\end{figure}
\end{frame}

\begin{frame}{How}
	\begin{exampleblock}{Decided}
		Linkings between requirements and code are in a many to many relation
		\\
		Make methods and functions as the smallest granularity of code
		\\
		Alert warnings to users when in a dangerous operation
		\\
		Historical data comparing
	\end{exampleblock}
	\begin{alertblock}{To Be Decided}
		Put linking information insider source code, using a configuration file or just linking them by click on a web page		
	\end{alertblock}
	\begin{block}{Furture Work}
		IDE plugins
		\\
		git integration
		\\
		All implementations of linking by source code comment, configuration file and manually clicking in a web page.
	\end{block}
\end{frame}

\begin{frame}{Thanks}
	\centering
		\Huge\bfseries
	Q \& A
\end{frame}

\end{document}
